<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="is_send">
            <li class="{:$Think.get.is_send === 0||$Think.get.is_send === null ? 'active' : ''}"><a href="#t-0" data-value="0" data-toggle="tab">{:__('未分配')}</a></li>
            <li class="{:$Think.get.is_send === 1 ? 'active' : ''}"><a href="#t-1" data-value="1" data-toggle="tab">{:__('已分配')}</a></li>
           
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('custompool/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('custompool/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('custompool/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a class="btn btn-primary dropdown-toggle btn-disabled disabled  {:$auth->check('custompool/allocation')?'':'hide'} "
                            href="javascript:;" data-toggle="dropdown" id="distributionButton"><i
                                class="fa fa-send"></i>
                            {:__('批量分配')}</a>

                        
                        <a href="javascript:;" class="btn btn-success btn-dialog {:$auth->check('custompool/import')?'':'hide'}" data-url="{:url('custompool/import')}" title="导入" > 导入</a>
                        <a href="/template/1243custom.xlsx" class="btn btn-primary " title="下载模板" >下载模板</a>


                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('custompool/edit')}"
                           data-operate-del="{:$auth->check('custompool/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
